package com.base.cn.platform.os.dao.course.open;

import com.base.cn.platform.os.common.mybatis.BaseDao;
import com.base.cn.platform.os.entity.course.count.CourseOpenSumCount;
import com.base.cn.platform.os.entity.course.open.CourseOpen;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 免费直播课程Dao
 *
 * @author s.li
 * @create 2018-05-03-15:22
 */
@Mapper
public interface CourseOpenDao extends BaseDao<CourseOpen>{

    /**
     * 查询免费直播总数量数据
     * @param clazz
     * @return CourseOpenSumCount
     */
    CourseOpenSumCount queryCourseOpenSumCount(@Param("clazz") Class<CourseOpen> clazz);
}
